package com.jic.market.service;

import com.jic.market.entity.PromotionMemberGrade;
import com.jic.market.request.MemberGradeInfoRequest;
import com.jic.market.request.PromotionMemberGradeRequest;

import java.util.List;

/**
 * @author yinhaijun
 * @date: 2020/6/30
 */
public interface PromotionMemberGradeService {
    Long addMemberGrade(MemberGradeInfoRequest request);

    Long updateMemberGrade(MemberGradeInfoRequest request);

    List<PromotionMemberGradeRequest> queryMemberGrade(String promotionCode);

    Long deleteMemberGrade(String promotionCode);

    Long copyMemberGrade(String oldPromotionCode, String promotionId, String promotionCode);

    Boolean checkPromotion(String thirdUserId, String channelCode, String channelCodes, List<PromotionMemberGrade> promotionMemberGradeList);

}
